package com.wkbb.sports.dto;

import lombok.Data;

import java.util.Date;

@Data
public class TrainTsTestDto {

    private long id;
    private String deviceName;
    private String deviceMac;
    private Integer currCount;
    private String bytes;
    private Date createTime;

    public static void main(String[] args){
        String bytes = "02010610FF14005121092120DC010000010100520A08595300000000000000";
        String str = bytes.substring(34,36) + bytes.substring(32,34);
        System.out.println(Integer.valueOf(str,16));
    }
}
